import { BuildingTreeData } from '../buildingTree/buildingTreeType';

export interface AreaSelected {
    province: Number,
    city: Number,
    area: Number,
}

export interface BuildingSelected {
    id: String,
    name: String,
}

export interface DrawerBuildingState {
    buildingTreeData: BuildingTreeData,
    buildingLoading: Boolean,
    areaList: Array<Object>,
    areaArr: Array<Number>,
    areaSelected: AreaSelected,
    buildingSelected: BuildingSelected,
    createBuildingDrawerShow: Boolean,
    mediaPositionActive: Number, // mediaPosition-媒体位置：1.梯内，2.梯外，3.出入门
    buildingTreeLoading: Boolean,
}
